package com.etcn.modules.busi.member.dao;

import com.etcn.common.dao.ICrudDao;
import com.etcn.modules.busi.member.pojo.WmMemberAttention;

import java.util.List;
import java.util.Map;


/**
 * 会员关注dao
 * @author guozc
 * @date 2018-03-22 09:08:10
 */
public interface IWmMemberAttentionDao extends ICrudDao<WmMemberAttention>{

	/**
	 * 查询会员关注
	 */
	List<WmMemberAttention> findByMemberId(Map<String,Object> param) throws Exception;
	
	/**
	 * 删除会员关注
	 */
	void deleteMembersAttention(Map<String,String> attention) throws Exception;

	/**
	 * 查询会员关注数
	 */
	int findCountByMember(WmMemberAttention attention) throws Exception;
}